<template>
    <div>
        <upload :allFileList="fileList" @upload="changeFileList"></upload>
    </div>
</template>

<script>
import Upload from 'base/upload/upload'
export default {
    data(){
        return{
            fileList:[]
        }
    },
    methods:{
        changeFileList(fileList){
            this.fileList=fileList
            console.log(this.fileList)
        }
    },
    components:{
        Upload
    }
}
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
@import '~common/stylus/variable';

</style>
